package com.heima.article.service;

import com.alibaba.dashscope.exception.InputRequiredException;
import com.alibaba.dashscope.exception.NoApiKeyException;
import com.heima.model.article.dtos.ChatDto;
import com.heima.model.common.dtos.ResponseResult;

public interface AIChatService {
    public ResponseResult<String> chat(String question);
    public ResponseResult<String> chat2(String question);

    public ResponseResult<String> chatWithMessage(ChatDto chatDto) throws NoApiKeyException, InputRequiredException;
}
